package com.zfh.cloud.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName t_order
 */
@TableName(value ="t_order")
@Data
public class Order implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long userid;

    /**
     * 订单名
     */
    private String name;

    /**
     * 金额
     */
    private Integer price;

    /**
     * 数量
     */
    private Integer num;

    /**
     * 额外信息说明
     */
    private String extrainfo;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}